package com.ruoyi.sale.domain;

import java.io.Serializable;
import java.util.Map;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
/**
 * 期数配置对象 sale_config
 *
 * @author szm
 * @date 2025-10-30
 */
@Data
@TableName("sale_config")
@ApiModel(value = "SaleConfig对象", description = "期数配置")
public class SaleConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("日期")
    @TableField(value = "daily_date")
    private Date dailyDate;

    /** 期数 */
    @Excel(name = "期数")
    @ApiModelProperty("期数")
    @TableField(value = "daily_stage")
    private String dailyStage;

    /** 创建日期 */
    @ApiModelProperty("创建日期")
    @TableField(value = "create_time")
    private Date createTime;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @TableField(exist = false)
    private Map<String, Object> params;
}
